//
//  BIDWithHttpRequestViewController.h
//  zhangqitong
//
//  Created by mal on 15/11/30.
//  Copyright © 2015年 mal. All rights reserved.
//

#import "BIDBaseViewController.h"

@interface BIDWithHttpRequestViewController : BIDBaseViewController

@property (nonatomic, copy) void(^completionHandler)(NSDictionary *responseDic, NSString *msg);
/**
 *  从后台加载数据
 */
- (void)sendHttpRequestWithURL:(NSString*)requestURL postData:(NSString*)postData withCompletion:(void (^)(NSDictionary* responseDic, NSString *errMsg))completion;
/**
 *  额外的任务
 */
- (void)externalTask;
/**
 *  当http请求失败时，是否手动处理失败信息
 */
@property (assign, nonatomic) BOOL bManualHandleHTTPFailed;

@end
